<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>department</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">department</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/inTouch/loginDisplay.do</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>userName</td>
	<td>chris</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>password</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>login</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Departments</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Add Department']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Testing Dept</td>
</tr>
<tr>
	<td>type</td>
	<td>description</td>
	<td>Testing Dept</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Testing</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Testing Dept</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=View</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Testing Dept</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Edit']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableMembers</td>
	<td>label=Crespo-Liu, Sarah</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableMembers</td>
	<td>label=Crespo, Eddie</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableMembers</td>
	<td>label=Ferdinands, Eden</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableMembers</td>
	<td>label=Di Genova, Carlo</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>description</td>
	<td>Testing</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=View</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Crespo-Liu, Sarah</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Crespo, Eddie</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Ferdinands, Eden</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Di Genova, Carlo</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Edit']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>assignedMembers</td>
	<td>label=Ferdinands, Eden</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='Leader']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>assignedMembers</td>
	<td>label=Crespo-Liu, Sarah</td>
</tr>
<tr>
	<td>removeSelection</td>
	<td>assignedMembers</td>
	<td>label=Ferdinands, Eden</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='Assistant Leader']</td>
	<td></td>
</tr>
<tr>
	<td>addSelection</td>
	<td>availableMembers</td>
	<td>label=Bethany, Gullaci</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='ADD']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Testing</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=View</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Eden Ferdinands</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Sarah Crespo-Liu</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Bethany, Gullaci</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Delete']</td>
	<td></td>
</tr>
<tr>
	<td>assertConfirmation</td>
	<td>Are you sure you want to delete this Department?</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Testing</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Find']</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>No results were found for your search.</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Logout</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
